package com.bafa.objects;

import com.bafa.services.RetrieveServices;

public class Award {

	private int champion;
	private int runnerUp; 
	private Scorer topScorer;
	private int seasonId;
	private int divisionId;
	public String getChampion() {
		return RetrieveServices.getTeam(""+champion).getName();
	}
	public void setChampion(int champion) {
		this.champion = champion;
	}
	public String getRunnerUp() {
		return RetrieveServices.getTeam(""+runnerUp).getName();
	}
	public void setRunnerUp(int runnerUp) {
		this.runnerUp = runnerUp;
	}
	public Scorer getTopScorer() {
		return topScorer;
	}
	public void setTopScorer(Scorer topScorer) {
		this.topScorer = topScorer;
	}
	public int getDivisionId() {
		return divisionId;
	}
	public void setDivisionId(int divisionId) {
		this.divisionId = divisionId;
	}
	public int getSeasonId() {
		return seasonId;
	}
	public void setSeasonId(int seasonId) {
		this.seasonId = seasonId;
	}
	
	public String getSeason(){
		return RetrieveServices.getSeason(""+seasonId).getName()+" "+RetrieveServices.getSeason(""+seasonId).getYear()+" "+RetrieveServices.getSeason(""+seasonId).isLeague();
	}
	
}
